SOURCES += dbg.cpp main.cpp \
 ksearch.cpp \
 kutils.cpp \
 kmodule.cpp \
 kmodmgr.cpp \
 kmedia.cpp \
 kmaster.cpp \
 kconfig.cpp \
  kmediacatalog.cpp \
 kguiutils.cpp

HEADERS += kmediacatalog.h dbg.h \
 kmaster.h \
 ksearch.h \
 kutils.h \
 kmodule.h \
 kmodmgr.h \
 kmedia.h \
 kconfig.h \
 kguiutils.h

TEMPLATE = app
CONFIG += warn_on \
      thread \
      qt \
      uitools \
      debug
TARGET = ../bin/kmediacatalog
FORMS = ../dialogs/dscan.ui \
        ../dialogs/dmedia.ui \
        ../dialogs/dmain.ui

OBJECTS_DIR = .obj
MOC_DIR = .moc
UI_DIR = .ui
RCC_DIR = .rcc

RESOURCES = res/application.qrc \
 res/images.qrc

RESOURCES -= res/dialogs.qrc

unix {
    LIBS += -lblkid
}

CONFIG -= release
system("echo >> modules/main/magic.h")
system("exec ../admin/mainmagic")



